package com.yyb.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(title = "TbDormQueryDTO", description = "宿舍信息查询条件")
public class TbDormQueryDTO {

    @Schema(title = "楼号（支持模糊查询）")
    private String buildingNo;

    @Schema(title = "层号")
    private String floorNo;

    @Schema(title = "性别")
    private String gender;

    @Schema(title = "风险等级")
    private String riskLevel;

    @Schema(title = "页码", defaultValue = "1")
    private Integer pageNum = 1;

    @Schema(title = "每页条数", defaultValue = "10")
    private Integer pageSize = 10;
}
